package com.cskaoyan.service;

import com.cskaoyan.bean.MarketCategory;
import com.cskaoyan.bean.MarketCategoryExample;
import com.cskaoyan.mapper.MarketCategoryMapper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author stone
 * @date 2022/09/08 15:11
 */
@Service
public class CategoryServiceImpl implements CategoryService{

    //Service → Dao（Mapper）
    @Autowired
    MarketCategoryMapper categoryMapper;



    @Override
    public void modify(MarketCategory marketCategory) {
        int i = categoryMapper.updateByPrimaryKey(marketCategory);
    }
}
